
package rss;

import java.util.*;

public class Channel
{
	private String title;
	private String link;
	private String description;
	private String language;
	private String copyright;
	private String generator;
	
	private Image image;
	
	private ArrayList<Item> items = new ArrayList<Item>();
	
	public String getTitle()
	{
		return title;
	}
	public void setTitle(String title)
	{
		this.title = title;
	}
	public String getLink()
	{
		return link;
	}
	public void setLink(String link)
	{
		this.link = link;
	}
	public String getDescription()
	{
		return description;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}
	public String getLanguage()
	{
		return language;
	}
	
	public void setLanguage(String language)
	{
		this.language = language;
	}
	
	public String getCopyright()
	{
		return copyright;
	}
	
	public void setCopyright(String copyright)
	{
		this.copyright = copyright;
	}
	
	public String getGenerator()
	{
		return generator;
	}
	
	public void setGenerator(String generator)
	{
		this.generator = generator;
	}
	
	public Image getImage()
	{
		return image;
	}
	
	public void setImage(Image i)
	{
		this.image = i;
	}
	
	public ArrayList<Item> getItems()
	{
		if (items == null)
		{
			items = new ArrayList<Item>();
		}
		
		return items;
	}
	
	public void setItems(ArrayList<Item> items)
	{
		this.items = items;
	}
	
	
}
